Optimal. Leaf size=85 \[ \frac {(2 A+3 C) \sin (c+d x)}{3 b d \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)}}+\frac {A \sin (c+d x)}{3 b d \cos ^{\frac {5}{2}}(c+d x) \sqrt {b \cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.114, Rules used = {18, 3012, 3767, 8} \[ \frac {(2 A+3 C) \sin (c+d x)}{3 b d \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)}}+\frac {A \sin (c+d x)}{3 b d \cos ^{\frac {5}{2}}(c+d x) \sqrt {b \cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 18
Rule 3012
Rule 3767
Rubi steps
\begin {align*} \int \frac {A+C \cos ^2(c+d x)}{\cos ^{\frac {5}{2}}(c+d x) (b \cos (c+d x))^{3/2}} \, dx &=\frac {\sqrt {\cos (c+d x)} \int \left (A+C \cos ^2(c+d x)\right ) \sec ^4(c+d x) \, dx}{b \sqrt {b \cos (c+d x)}}\\ &=\frac {A \sin (c+d x)}{3 b d \cos ^{\frac {5}{2}}(c+d x) \sqrt {b \cos (c+d x)}}+\frac {\left ((2 A+3 C) \sqrt {\cos (c+d x)}\right ) \int \sec ^2(c+d x) \, dx}{3 b \sqrt {b \cos (c+d x)}}\\ &=\frac {A \sin (c+d x)}{3 b d \cos ^{\frac {5}{2}}(c+d x) \sqrt {b \cos (c+d x)}}-\frac {\left ((2 A+3 C) \sqrt {\cos (c+d x)}\right ) \operatorname {Subst}(\int 1 \, dx,x,-\tan (c+d x))}{3 b d \sqrt {b \cos (c+d x)}}\\ &=\frac {A \sin (c+d x)}{3 b d \cos ^{\frac {5}{2}}(c+d x) \sqrt {b \cos (c+d x)}}+\frac {(2 A+3 C) \sin (c+d x)}{3 b d \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.14, size = 51, normalized size = 0.60 \[ \frac {\sin (c+d x) \sqrt {\cos (c+d x)} \left (A \tan ^2(c+d x)+3 (A+C)\right )}{3 d (b \cos (c+d x))^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.45, size = 50, normalized size = 0.59 \[ \frac {{\left ({\left (2 \, A + 3 \, C\right )} \cos \left (d x + c\right )^{2} + A\right )} \sqrt {b \cos \left (d x + c\right )} \sin \left (d x + c\right )}{3 \, b^{2} d \cos \left (d x + c\right )^{\frac {7}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {C \cos \left (d x + c\right )^{2} + A}{\left (b \cos \left (d x + c\right )\right )^{\frac {3}{2}} \cos \left (d x + c\right )^{\frac {5}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.20, size = 54, normalized size = 0.64 \[ \frac {\sin \left (d x +c \right ) \left (2 A \left (\cos ^{2}\left (d x +c \right )\right )+3 C \left (\cos ^{2}\left (d x +c \right )\right )+A \right )}{3 d \left (b \cos \left (d x +c \right )\right )^{\frac {3}{2}} \cos \left (d x +c \right )^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.42, size = 380, normalized size = 4.47 \[ \frac {2 \, {\left (\frac {3 \, C \sqrt {b} \sin \left (2 \, d x + 2 \, c\right )}{b^{2} \cos \left (2 \, d x + 2 \, c\right )^{2} + b^{2} \sin \left (2 \, d x + 2 \, c\right )^{2} + 2 \, b^{2} \cos \left (2 \, d x + 2 \, c\right ) + b^{2}} + \frac {2 \, {\left ({\left (3 \, \cos \left (2 \, d x + 2 \, c\right ) + 1\right )} \sin \left (6 \, d x + 6 \, c\right ) + 3 \, {\left (3 \, \cos \left (2 \, d x + 2 \, c\right ) + 1\right )} \sin \left (4 \, d x + 4 \, c\right ) - 3 \, \cos \left (6 \, d x + 6 \, c\right ) \sin \left (2 \, d x + 2 \, c\right ) - 9 \, \cos \left (4 \, d x + 4 \, c\right ) \sin \left (2 \, d x + 2 \, c\right )\right )} A}{{\left (b \cos \left (6 \, d x + 6 \, c\right )^{2} + 9 \, b \cos \left (4 \, d x + 4 \, c\right )^{2} + 9 \, b \cos \left (2 \, d x + 2 \, c\right )^{2} + b \sin \left (6 \, d x + 6 \, c\right )^{2} + 9 \, b \sin \left (4 \, d x + 4 \, c\right )^{2} + 18 \, b \sin \left (4 \, d x + 4 \, c\right ) \sin \left (2 \, d x + 2 \, c\right ) + 9 \, b \sin \left (2 \, d x + 2 \, c\right )^{2} + 2 \, {\left (3 \, b \cos \left (4 \, d x + 4 \, c\right ) + 3 \, b \cos \left (2 \, d x + 2 \, c\right ) + b\right )} \cos \left (6 \, d x + 6 \, c\right ) + 6 \, {\left (3 \, b \cos \left (2 \, d x + 2 \, c\right ) + b\right )} \cos \left (4 \, d x + 4 \, c\right ) + 6 \, b \cos \left (2 \, d x + 2 \, c\right ) + 6 \, {\left (b \sin \left (4 \, d x + 4 \, c\right ) + b \sin \left (2 \, d x + 2 \, c\right )\right )} \sin \left (6 \, d x + 6 \, c\right ) + b\right )} \sqrt {b}}\right )}}{3 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.42, size = 220, normalized size = 2.59 \[ \frac {\sqrt {b\,\cos \left (c+d\,x\right )}\,\left (18\,A\,\sin \left (2\,c+2\,d\,x\right )+12\,A\,\sin \left (4\,c+4\,d\,x\right )+2\,A\,\sin \left (6\,c+6\,d\,x\right )+15\,C\,\sin \left (2\,c+2\,d\,x\right )+12\,C\,\sin \left (4\,c+4\,d\,x\right )+3\,C\,\sin \left (6\,c+6\,d\,x\right )+A\,20{}\mathrm {i}+C\,30{}\mathrm {i}+A\,\cos \left (2\,c+2\,d\,x\right )\,30{}\mathrm {i}+A\,\cos \left (4\,c+4\,d\,x\right )\,12{}\mathrm {i}+A\,\cos \left (6\,c+6\,d\,x\right )\,2{}\mathrm {i}+C\,\cos \left (2\,c+2\,d\,x\right )\,45{}\mathrm {i}+C\,\cos \left (4\,c+4\,d\,x\right )\,18{}\mathrm {i}+C\,\cos \left (6\,c+6\,d\,x\right )\,3{}\mathrm {i}\right )}{3\,b^2\,d\,\sqrt {\cos \left (c+d\,x\right )}\,\left (15\,\cos \left (2\,c+2\,d\,x\right )+6\,\cos \left (4\,c+4\,d\,x\right )+\cos \left (6\,c+6\,d\,x\right )+10\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________